<?php
/**
 * Created by JetBrains PhpStorm.
 * User: zhouyang
 * Date: 13-9-15
 * Time: 下午4:31
 * To change this template use File | Settings | File Templates.
 */
class SourcesModel extends Model{
    //根据source_id source 信息
    public function get($source_id){
        return $this->dbreader()->get($source_id);
    }

    //批量获取来源信息
    public function mulitGetSourceInfo($source_ids){
        $str_source_ids = implode(',',$source_ids);
        return $this->dbreader()->mulitGetSourceInfo($str_source_ids);
    }
}